//
//  LQPhotoPickerViewController.h
//  LQPhotoPicker
//
//  Created by lawchat on 15/9/22.
//  Copyright (c) 2015年 Fillinse. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol LQPhotoPickerViewDelegate <NSObject>

@optional
- (void)collectionViewHeight:(CGFloat)height;

@end

@interface LGPhotoPickerController : UIViewController

@property (nonatomic , assign)id<LQPhotoPickerViewDelegate> delegate;

//选择的图片数据(ALAsset)
@property (nonatomic , strong)NSMutableArray *selectedAssetArray;

//方形压缩图image 数组
@property (nonatomic , strong)NSMutableArray *smallImageArray;
//方形压缩图data 数组
@property (nonatomic , strong , readonly)NSMutableArray *smallImageDataArray;

//大图image 数组
@property (nonatomic , strong)NSMutableArray *bigImageArray;
//大图data 数组
@property (nonatomic , strong , readonly)NSMutableArray *bigImageDataArray;

//pickerView所在view
@property (nonatomic , strong)UIView *superView;
/**  添加图片提示 */
@property (nonatomic , strong)UILabel *remindLabel;
@property (nonatomic , strong)UILabel *remindSubLabel;

//图片总数量限制
@property(nonatomic,assign) NSInteger maxCount;

/**  添加图片名 */
@property (nonatomic , copy)NSString *pushImgName;
//图片的宽高
@property (nonatomic , assign)CGFloat imageWidth;
@property (nonatomic , assign)CGFloat imageHeight;
//图片区域间距
@property (nonatomic , assign)CGFloat marginTop;
@property (nonatomic , assign)CGFloat marginLeft;
@property (nonatomic , assign)CGFloat marginRight;
@property (nonatomic , assign)CGFloat marginV;//图片纵向间距

//初始化collectionView
- (void)LQPhotoPicker_initPickerView;
//修改collectionView 的位置 
- (void)LQPhotoPicker_updatePickerViewFrameY:(CGFloat)Y;
//获得collectionView 的 Frame
- (CGRect)LQPhotoPicker_getPickerViewFrame;

//获取选中的所有图片信息
- (NSMutableArray*)LQPhotoPicker_getSmallImageArray;
- (NSMutableArray*)LQPhotoPicker_getSmallDataImageArray;
- (NSMutableArray*)LQPhotoPicker_getBigImageArray;
- (NSMutableArray*)LQPhotoPicker_getBigImageDataArray;
- (NSMutableArray*)LQPhotoPicker_getALAssetArray;

@end
